package tech.dx.springdb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @ClassName CourseAdviceType
 * @Description 课程建议类型
 * @Author daoxuan
 * @Date 2019/3/29 19:16
 * @Version 1.0
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseAdviceType {

    @Id
    @GeneratedValue
    private long id;

    @Column(nullable = false)
    private String name;

    /**
     * 创建此记录的用户
     */
    private String creator;

    /**
     * 创建时间
     */
    private String createdDate;

    /**
     * 修改此记录的用户
     */
    private String modified;

    /**
     * 修改用户的时间
     */
    private String modifieddate;
}
